//
//  SuperController.m
//  PetExchange
//
//  Created by zhibao on 2022/9/26.
//

#import "SuperController.h"
@interface SuperController ()

@end

@implementation SuperController

- (void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    [MYGlobal share].lastVC = self;
}
- (void)viewDidLoad {
    [super viewDidLoad];
    self.gk_statusBarStyle = UIStatusBarStyleDefault;
    self.gk_backImage = [UIImage imageNamed:@"arrow_back"];
    self.gk_navTitleColor = [UIColor colorWithHexString:@"333333"];
    self.gk_navTitleFont = MY_SCALE_SemiboldFONT(17);
    self.gk_navBackgroundColor = UIColor.whiteColor;
    self.view.backgroundColor =UIColor.whiteColor;
    
    UINavigationBarAppearance *appearance = [UINavigationBarAppearance new];
    [appearance configureWithOpaqueBackground];
    appearance.backgroundColor = UIColor.clearColor;
    //去掉导航栏下的阴影线
    appearance.shadowColor = UIColor.clearColor;
    self.gk_navigationBar.standardAppearance = appearance;
    self.gk_navigationBar.scrollEdgeAppearance = self.gk_navigationBar.standardAppearance;
}

-(void)setNavJBBackground{
    self.gk_statusBarStyle = UIStatusBarStyleLightContent;
    [self hideNavLine];
    self.gk_navTitleColor = [UIColor whiteColor];
    self.gk_backImage = [UIImage imageNamed:@"arrow_back_white"];
    //self.gk_navBackgroundImage = [Helper returnResizableWithImage:[UIImage imageNamed:@"nav_bg"]];
}

@end
